package com.ruoyi.finance.welfareRecharge.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 福利充值对象 fi_welfare_recharge
 * 
 * @author wangmh
 * @date 2023-09-17
 */
public class FiWelfareRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 测试1 */
    @Excel(name = "测试1")
    private String name1;

    /** 测试2 */
    @Excel(name = "测试2")
    private BigDecimal name2;

    /** 测试3 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "测试3", width = 30, dateFormat = "yyyy-MM-dd")
    private Date name3;

    /** 测试4 */
    @Excel(name = "测试4")
    private String name4;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName1(String name1) 
    {
        this.name1 = name1;
    }

    public String getName1() 
    {
        return name1;
    }
    public void setName2(BigDecimal name2) 
    {
        this.name2 = name2;
    }

    public BigDecimal getName2() 
    {
        return name2;
    }
    public void setName3(Date name3) 
    {
        this.name3 = name3;
    }

    public Date getName3() 
    {
        return name3;
    }
    public void setName4(String name4) 
    {
        this.name4 = name4;
    }

    public String getName4() 
    {
        return name4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name1", getName1())
            .append("name2", getName2())
            .append("name3", getName3())
            .append("name4", getName4())
            .toString();
    }
}
